package com.yami.shop.cp.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.cp.comment.model.CollaborativeSubmitPerson;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xch
 * @since 2021-06-24
 */
public interface CollaborativeSubmitPersonMapper extends BaseMapper<CollaborativeSubmitPerson> {

    /**
     * 根据协同单号和提报人手机号查询
     *
     * @param collaborativePurchaseId 采购单id
     * @param mobile                  提报人手机号
     * @return CollaborativeSubmitPerson
     */
    CollaborativeSubmitPerson selectCSPByCPIdAndMobile(@Param("collaborativePurchaseId") String collaborativePurchaseId, @Param("mobile") String mobile);
}
